import request from '@/utils/request'

// 查询群众反馈列表
export function listMasses(query) {
  return request({
    url: '/ies/masses/list',
    method: 'get',
    params: query
  })
}

// 查询群众反馈详细
export function getMasses(sugId) {
  return request({
    url: '/ies/masses/' + sugId,
    method: 'get'
  })
}

// 新增群众反馈
export function addMasses(data) {
  return request({
    url: '/ies/masses',
    method: 'post',
    data: data
  })
}

// 修改群众反馈
export function updateMasses(data) {
  return request({
    url: '/ies/masses',
    method: 'put',
    data: data
  })
}

// 删除群众反馈
export function delMasses(sugId) {
  return request({
    url: '/ies/masses/' + sugId,
    method: 'delete'
  })
}
